package core.startdecision;

import logic.startdecision.LogicalUserDecision;
import data.startdecision.GetUserDecision;
import ui.starterdecision.UserDecisionMessage;

public class UserStartDecision implements Runnable_Interface,
Decidable_Interface 
{

	@Override
	public boolean run() {
		boolean decision = getDecisionFromUser();
		return decision;
	}

	public boolean getDecisionFromUser() {
		UserDecisionMessage userDecisionMessage = new UserDecisionMessage();
		userDecisionMessage.getMessage();
		GetUserDecision getUserDecision = new GetUserDecision();
		String userDecision = getUserDecision.get();
		LogicalUserDecision logicalUserDecision = new LogicalUserDecision();
		boolean finalDecision = logicalUserDecision.parseData(userDecision);
		return finalDecision;
	}

}
